import axios from 'axios'
import config from '@/config/index.js'

const loginApi = axios.create({
  baseURL: config.oauthUrl,
  headers: {
    Authorization: config.oauthAuthorization,
  }
})
const mainApi = axios.create({
  baseURL: config.apiUrl,
})


export {
  loginApi,
  mainApi
}
